/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Menus;

import Control.GameController;
import UserInterface.Button;
import java.util.ArrayList;

/**
 * Classe pai de todos os menus. Tem os componentes basicos obrigatorios para um menu ser renderizado.
 * @author Gustavo Buzogany Eboli
 */
public class Menu {
    protected ArrayList<Button> buttonList;
    protected int identifier = 0;
    protected GameController gc;

    public ArrayList<Button> getButtonList() {
        return buttonList;
    }

    public int getNextIdentifier()
    {
        return identifier++;
    }

    public Menu(GameController gc)
    {
        buttonList = new ArrayList<Button>();
        this.gc = gc;
    }

}
